getEnergyPrices <src>
Query historical energy unit price.
Usage
await tronWeb.trx.getEnergyPrices();
Return
string - All historical energy unit price information. Each unit price change is separated by a comma. Before the colon is the millisecond timestamp, and after the colon is the energy unit price in sun.
Example
//Example 1
await tronWeb.trx.getEnergyPrices();
"0:100"